package com.privatebar.study.service;


import com.privatebar.study.entity.Test;
import com.privatebar.study.mapper.TestMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TestService {


    @Autowired
    private TestMapper testMapper;


    public List<Test> getAll() {
        List<Test> list = testMapper.selectAll();
        return list;
    }

}
